package com.example.blog.modules.monitor.dto;

import lombok.Data;

@Data
public class SystemMetricsDTO {
    
    // CPU指标
    private double systemCpuUsage;
    private double processCpuUsage;
    private int availableProcessors;
    
    // 内存指标
    private long totalMemory;
    private long freeMemory;
    private long maxMemory;
    private long heapMemoryUsed;
    private long nonHeapMemoryUsed;
    
    // JVM指标
    private long uptime;
    private int threadCount;
    private int peakThreadCount;
    private int daemonThreadCount;
    private long totalStartedThreadCount;
    
    // GC指标
    private long youngGcCount;
    private long youngGcTime;
    private long oldGcCount;
    private long oldGcTime;
    
    // 类加载指标
    private long totalLoadedClassCount;
    private long loadedClassCount;
    private long unloadedClassCount;
} 